//---------------------------------------------------------------------------
#pragma hdrstop
#include "ObjectClass.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
//---------------------------------------------------------------------------
CObject::CObject(TCanvas* canvas, int x, int y) {
	this->canvas = canvas;
	this->x = x;
	this->y = y;
}
//---------------------------------------------------------------------------
void CObject::setX(int x) {
	this->x = x;
}
//---------------------------------------------------------------------------
void CObject::setY(int y) {
	this->y = y;
}
//---------------------------------------------------------------------------
void CObject::setName(UnicodeString name) {
	this->name = name;
};
//---------------------------------------------------------------------------
void CObject::setDescription(UnicodeString description) {
	this->description = description;
}
//---------------------------------------------------------------------------
void CObject::setNumber(int number) {
	this->number = number;
}
//---------------------------------------------------------------------------
int CObject::getX() {
	return x;
}
//---------------------------------------------------------------------------
int CObject::getY() {
	return y;
}
//---------------------------------------------------------------------------
UnicodeString CObject::getName() {
	return name;
}
//---------------------------------------------------------------------------
UnicodeString CObject::getDescription() {
	return description;
}
//---------------------------------------------------------------------------
int CObject::getNumber() {
	return number;
}
//---------------------------------------------------------------------------
void CObject::show() {}
//---------------------------------------------------------------------------
void CObject::hide() {}
//---------------------------------------------------------------------------
void CObject::move(int x, int y) {
	hide();
	this->x = x;
	this->y = y;
	show();
}
//---------------------------------------------------------------------------
bool CObject::isSelect(int xm, int ym) {
	return false;
}
//---------------------------------------------------------------------------
